package com.example.service;

import com.example.pojo.Dept;

import java.util.List;

public interface DeptService {
    List<Dept> getAll();

    boolean deleteDeptById(Integer id);

    boolean addDept(Dept dept);

    Dept getDeptById(Integer id);

    boolean updateDept(Dept dept);
}
